package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-23 5:39 下午
 */
@Data
@ApiModel("设备信息返回值")
public class DeviceResp {

    @ApiModelProperty(value = "设备编号", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "备注", required = true)
    private String remarks;

    @ApiModelProperty(value = "分类号", required = true)
    private String categoryNumber;

    @ApiModelProperty(value = "设备号", required = true)
    private String deviceNumber;

    @ApiModelProperty(value = "设备数量", required = true)
    private Integer count;

    @ApiModelProperty(value = "设备名称", required = true)
    private String deviceName;

    @ApiModelProperty(value = "型号", required = true)
    private String model;

    @ApiModelProperty(value = "规格", required = true)
    private String specifications;

    @ApiModelProperty(value = "单价", required = true)
    private BigDecimal price;

    @ApiModelProperty(value = "购买日期", required = true)
    private Date buyDate;

    @ApiModelProperty(value = "报废日期", required = true)
    private Date scrapDate;

    @ApiModelProperty(value = "领用单位", required = true)
    private String useUnit;

    @ApiModelProperty(value = "领用人编号", required = true)
    private Long userId;

    @ApiModelProperty(value = "领用人", required = true)
    private String userName;

    @ApiModelProperty(value = "原存放地址", required = true)
    private String oldAddress;

    @ApiModelProperty(value = "现存放地址", required = true)
    private String newAddress;

    @ApiModelProperty(value = "来源，0:购买，1:历史导入，2:盘盈", required = true)
    private Integer source;

    @ApiModelProperty(value = "状态，0:正常，1:报废，2:盘亏，3:丢损", required = true)
    private Integer status;

    @ApiModelProperty(value = "审批状态，0:审批中，1:通过，2：驳回")
    private Integer approvalStatus;
}
